Skip to content

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Jun 24, 2025

Allows clusters to be deployed without outbound internet access. Key configuration changes:

  • Some proxy variables are now defined for convenience in environments/common/inventory/group_vars/all/proxy.yml, making it easier to define a proxy using basic authentication.
  • New variable proxy_remove allows removing proxy configuration at the end of Ansible runs. This defaults to false for clusters but true for build VMs. NB: This is a change in behaviour; before if the proxy group was enabled for the build then the proxy configuration would have been left in the image.
  • New variable openondemand_install_apps_extra to simplify installing additional OpenOndemand Apps.

See docs/experimental/isolated-clusters.md for more information.


Design notes:

  • All repos are now disabled at the end of both fatimage.yml site.yml playbooks via dnf_repos:disable_repos.yml. This means ansible.builtin.dnf tasks during site.yml do not trigger dnf cache updates and hence complete successfully (assuming relevant package(s) are actually installed).
  • For supported features, installation tasks have been moved into fatimage.yml, with additional guards for appliances_mode added to avoid running them during site.yml.

sjpb added 27 commits May 23, 2025 08:41
…nd_desktop,openondemand_jupyter - only reqd during build
@sjpb
Copy link
Collaborator Author

sjpb commented Jun 24, 2025

@sjpb sjpb changed the base branch from feat/isolated-env to main June 24, 2025 12:14
@sjpb sjpb force-pushed the feat/isolated-env-2 branch from e3de3da to 28ed70f Compare July 2, 2025 15:05
@sjpb sjpb force-pushed the feat/isolated-env-2 branch from 28ed70f to 6355aeb Compare July 2, 2025 15:07
@sjpb sjpb changed the title Feat/isolated env 2 Support clusters with no outbound internet Jul 3, 2025
@sjpb
Copy link
Collaborator Author

sjpb commented Jul 3, 2025

@sjpb sjpb force-pushed the feat/isolated-env-2 branch from c9ebbbe to ba71337 Compare July 3, 2025 09:47
@sjpb sjpb marked this pull request as ready for review July 3, 2025 09:55
@sjpb sjpb requested a review from a team as a code owner July 3, 2025 09:55
@bertiethorpe
Copy link
Member

All repos are now disabled at the end of both fatimage.yml site.yml playbooks via dnf_repos:disable_repos.yml. This means ansible.builtin.dnf tasks during site.yml do not trigger dnf cache updates and hence complete successfully (assuming relevant package(s) are actually installed).

I'm curious does this have a knock-on benefit regarding configure times?

@sjpb
Copy link
Collaborator Author

sjpb commented Jul 4, 2025

@bertiethorpe bertiethorpe self-requested a review July 8, 2025 08:17
Copy link
Member

@bertiethorpe bertiethorpe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy for the combining of feature tables to be a separate PR. This LGTM

@sjpb sjpb merged commit deab8e8 into main Jul 8, 2025
8 of 9 checks passed
@sjpb sjpb deleted the feat/isolated-env-2 branch July 8, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants